package com.nwcl.basic.entity;

import java.math.BigDecimal;
import java.util.Date;

/*
 * @Description:用户积分
 * @Author liguiqin
 * @Date 2023/5/23 18:01
 * @param: null
 * @return
 * @UpdateDate 2023/5/23 18:01
 **/
public class UserIntegral {
    private Integer id;
    private Integer userId;//用户id
    private BigDecimal integral;//积分
    private Date startTime;//积分有效期开始时间
    private Date endTime;//积分有效期结束时间
    private Date createTime;//创建时间
    private Date updateTime;//更新时间
    private Integer isValid;//是否有效

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public BigDecimal getIntegral() {
        return integral;
    }

    public void setIntegral(BigDecimal integral) {
        this.integral = integral;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getIsValid() {
        return isValid;
    }

    public void setIsValid(Integer isValid) {
        this.isValid = isValid;
    }
}
